package com.css.fxfzypg.modules.saresults.service;

import com.css.fxfzypg.base.response.RestResponse;
import com.css.fxfzypg.modules.saresults.entity.DzqhQpBasicMapEntity;
import com.css.fxfzypg.modules.saresults.param.ApTemporarySaveParam;
import com.css.fxfzypg.modules.saresults.vo.SaResultsHlVo;
import com.css.fxfzypg.modules.saresults.vo.SaResultsIdVo;
import com.css.fxfzypg.modules.saresults.vo.SaResultsVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface QpResultsService {
    RestResponse saveOrUpdateQpResults(SaResultsVo saResultsVo);

    RestResponse getSaResultsById(String projectId);

    RestResponse deleteQaResultsProject(String projectId,String deleteReason,String reviewComments,String approvalStatus);

    RestResponse importExcelQpResults(MultipartFile file);

    void exportExcelQpResults(HttpServletResponse response, String projectId);

    RestResponse notSubmitted();

    RestResponse queryAllQpProject();

    RestResponse getQpResultsProject(DzqhQpBasicMapEntity qpBasicMapEntity, HttpServletRequest request,String geom);

    RestResponse getQpResultsHl(SaResultsHlVo saResultsHlVo, HttpServletRequest request,String geom);

    void saveOrUpdate(ApTemporarySaveParam param);
}
